package cn.itsource.org.domain;


import lombok.Data;
import org.springframework.stereotype.Controller;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * 员工表
 */
@Data
@Table(name = "t_employee")
public class Employee {

    @Id
    private Long id;

    private String username;

    private String email;

    private String phone;

    private String password;

    private Integer age;

    private Integer state;

    @Column(name = "department_id")
    private Long departmentId;

    @Column(name = "logininfo_id")
    private Long logininfoId;

    @Column(name = "shop_id")
    private Long shopId;

    @Column(name = "parent_id")
    private Long parentId;

    @Column(name = "manager_id")
    private Long managerId;






}
